﻿@model MvcAgenda.Domain.Entities.location
@{
    Layout = null;
    }
 <script>
     $(function () {
         $("#dialog-confirm").dialog({
             resizable: false,
             height: 280,
             width: 350,
             modal: true,
             buttons: {
                 Delete: function () {
                     $(this).dialog("close");
                 },
                 Cancel: function () {
                     $(this).dialog("close");
                 }
             }
         });
     });
</script>
<div id="dialog-confirm" title="Are you sure you want to delete this?">
<fieldset>
    <legend>location</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.city)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.city)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.country)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.country)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.timezone)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.timezone)
    </div>
</fieldset>

@*@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}*@
</div>
